

/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
class PegHelpPrompt : public PegPrompt
{
    public:
        PegHelpPrompt(const PEGCHAR *pText, const PegRect &Rect);
        virtual void Draw(const PegRect &Invalid);

};


/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
class PegHelpButton : public PegIconButton
{
    public:
        PegHelpButton(const PegRect &Rect, PEGUINT BitmapId, PEGUINT StringId,
            PEGUSHORT Id,
          #ifdef PEG_MOUSE_SUPPORT
            PEGULONG Style = AF_ENABLED|BF_FLYOVER);
          #else
            PEGULONG Style = AF_ENABLED);
          #endif

        PegHelpButton(const PEGCHAR *pText, const PegRect &Rect,
            PEGUINT BitmapId, PEGUSHORT Id,
          #ifdef PEG_MOUSE_SUPPORT
            PEGULONG Style = TT_COPY|AF_ENABLED|BF_FLYOVER);
          #else
            PEGULONG Style = TT_COPY|AF_ENABLED);
          #endif

        virtual ~PegHelpButton(void);
        virtual PEGINT Message(const PegMessage &Mesg);

    private:
        PegHelpPrompt *mpHelpPrompt;
        PEGINT mPosY;
        PEGBOOL mClicked;
};

